package com.glp.work.flow.service;

import com.glp.common.reponse.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 发送消息
 */
@FeignClient(name = "glp-api-gateway")
public interface SendMessageToUserOneClient {

    @PostMapping("message/sendMasg")
    BaseResult sendMasg(@RequestParam("userId") String userId, @RequestParam("content") String content);
}
